package schoolWork.work02.BookBorrowingSystem;

public class Book {
    String number;
    String name;
    double price;
    String status;

    public Book(String number, String name, double price, String status) {
        this.number = number;
        this.name = name;
        this.price = price;
        this.status = status;
    }

    public Book() {
    }

    public String getNumber() {
        return number;
    }


    public void setNumber(String number) {
        this.number = number;
    }


    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name;
    }


    public double getPrice() {
        return price;
    }


    public void setPrice(double price) {
        this.price = price;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void show() {
        String str = number + "," + name + "," + price + "," + status;
        System.out.println(str);
    }
}

